package model.vo
{

	/**
	 *  传输协议模板
	 **/
	public class ProtocalTemplate
	{
		public static var DRIVE_IN_ALERT:String="action=interface-sendCmd&id=xxx&tid=xxxx&lx=1&M=3&D=N&";
		public static var DRIVE_OUT_ALERT:String="";
		public static var SET_BOUNDARY:String="";
		public static var CANCEL_BOUNDARY:String="";

		
		public function ProtocalTemplate()
		{
		}

		public function createLatLnt(lat:String, lnt:String)
		{
			return "action=interface-sendCmd&id=xxx&tid=xxxx&lx=1" +
				"&M=3&D=N&minlatitude=****.***&maxlatitude=****.***" +
				"&G=E&minlongitude=****.***&maxlongitude=****.***";
		}

		/**
		 * 创建驶入协议
		 **/
		public function createtDriveIn():String
		{
		}

		/**
		 *  创建驶出协议
		 **/
		public function createtDriveOut():String
		{
		}

		/**
		 *  创建电子围栏.
		 **/
		public function createtEleBoundary():String
		{
		}

		/**
		 * 取消电子围栏.
		 **/
		public function createtCancelBoundary():String
		{
		}
	}
}
